package com.kws.tool.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author : zhangbenting
 * @date : 2024/12/5 11:23
 * @Version: 1.0
 */
@TableName("tb_electricity_divide_month")
@Data
public class ElectricityDivideMonthEntity implements Serializable {

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("尖峰电价")
    private String topTime;

    @ApiModelProperty("低谷电价")
    private String lowTime;

    @ApiModelProperty("高峰电价")
    private String highTime;

    @ApiModelProperty("平时电价")
    private String flatTime;

    @ApiModelProperty("深谷电价")
    private String deepTime;

    @ApiModelProperty("年月")
    private String month;

    @ApiModelProperty("用电类型II参数")
    private String twoParamName;

    @ApiModelProperty("电压等级参数")
    private String voltageParamName;

    @ApiModelProperty("用电类型I参数")
    private String oneParamName;

    @ApiModelProperty("地区名称")
    private String regionName;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}
